<template>
    <div>
   {{data2}}
    </div>
</template>

<script setup>
import { computed} from "vue"
 let props =    defineProps(['data'])
    console.log( "封装单",props.data);
 let data2  = computed(  ()=>{
    let a =  props.data?.substring(4,9)
    console.log(a);
    return   props.data?.replace(a,"****")
 }  )

</script>

<style lang="scss" scoped>

</style>